package com.leyou.search;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableFeignClients(basePackages = {"com.leyou.item.client","com.leyou.auth.client"})
@SpringBootApplication(scanBasePackages = {"com.leyou.search", "com.leyou.common.advice"},exclude = DataSourceAutoConfiguration.class)//排除自动配制
public class LySearchApplication {
    public static void main(String[] args) {
        SpringApplication.run(LySearchApplication.class, args);
    }
}
